package cn.edu.scau.cmi.wujingxuan.composite.consistent;

public class Qian extends Organization
{
	String word = "大家好，我姓钱，我属于组织的";
	String ERRMG1 = "The add operation in class Qian is not supported";
	String ERRMG2 = "The remove operation in class Qian is not supported";

	public void add(Organization child)
	{
		System.err.println(ERRMG1);
	}

	public void remove(Organization child)
	{
		System.err.println(ERRMG2);
	}

	public String say()
	{
		return word;
	}
}